package com.tms.springboot.feign;

import com.tms.springboot.base.pojo.PdAgencyScope;
import com.tms.springboot.result.JsonResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author 奶昔刺客
 */

@FeignClient(value = "pd-basecjj", path = "pd-agency-scope")
public interface PdAgencyScopeFeign {

    /**
     * 添加机构作业范围
     * @param pdAgencyScope
     * @return
     */

    @RequestMapping("/addAgencyScope")
    public JsonResult addAgencyScope(@RequestBody PdAgencyScope pdAgencyScope);

    /**
     * 添加机构作业范围
     * @param pdAgencyScope
     * @return
     */

    @RequestMapping("/updateAgencyScope")
    public JsonResult updateAgencyScope(@RequestBody PdAgencyScope pdAgencyScope);
}
